Fix bug #11827 with file-relative-name on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Sun, 1 Jul 2012 16:38:53 +0000 (19:38 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sun, 1 Jul 2012 16:38:53 +0000 (19:38 +0300)
commitadd2de3ef3911031d603315738f9c5de5533d9f4
tree6c2cd150363fb5241d8769bb03df54479345a6dc
parent97592ae90c3e69f4342c5dd37e8fdc5e82b5ba63
Fix bug #11827 with file-relative-name on MS-Windows.

 lisp/files.el (file-relative-name): Compare file names
 case-insensitively if on MS-Windows or MS-DOS, or if
 read-file-name-completion-ignore-case is non-nil.  Don't use
 case-fold-search for this purpose.
lisp/ChangeLog
lisp/files.el